import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const store = new Vuex.Store({
    state:{
        buyCount:0
    },
    mutations:{
        setCount:function(state,buyCount){
            state.buyCount=buyCount;
        }
    }
})

export default store